remove required attribute jquery

66

remove attribute jquery -

$("button").click(() => {
  $("div").removeAttr("id"); // <div id='12' class='nice'></div> --> <div class='nice'></div>
});

remove required attribute jquery mvc -

$("#txtTempHireEndDate").rules("remove", "required")

Comments

Submit
0 Comments